varying vec2 texCoords;
uniform float wind;

void main()
{
    vec4 vertex = gl_Vertex;
    float displacement =  vertex.y*wind;
    vertex.x += displacement;
    vertex = gl_ModelViewProjectionMatrix *vertex;
    gl_Position = vertex;
    texCoords = gl_MultiTexCoord0.st;
}
